package com.ruoyi.dept.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 试验室培训业务对象 dept_bs_learn
 *
 * @author zyb
 * @date 2024-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BsLearnBo extends BaseEntity {

    /**
     * 培训id
     */
//    @NotNull(message = "培训id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long learnId;

    /**
     * 试验室id
     */
//    @NotNull(message = "试验室id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long deptId;

    /**
     * 培训类别
     */
//    @NotBlank(message = "培训种类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String learnType;

    /**
     * 培训日期
     */
//    @NotNull(message = "培训日期不能为空", groups = { AddGroup.class, EditGroup.class })
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date learnDate;

    /**
     * 培训地点
     */
//    @NotBlank(message = "培训地点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String learnAddress;

    /**
     * 培训状态
     */
//    @NotBlank(message = "培训状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String learnStatus;

    /**
     * 培训内容
     */
    @ExcelProperty(value = "培训内容")
    private String learnContent;

    /**
     * 参加培训人员
     */
    @ExcelProperty(value = "参加培训人员")
    private String trainers;

    /**
     * 授课单位（老师）
     */
    @ExcelProperty(value = "授课单位（老师）")
    private String lecturer;

    /**
     * 培训效果
     */
    @ExcelProperty(value = "培训效果")
    private String trainingEffect;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
